var startTime = new Date().getTime();
var common = require('./common.js'),
	request = require('request'),
	FeedParser = require('feedparser'),
	rssSite = {},
	Iconv = require('iconv-lite'),
	fs = require('fs'),
	path = require('path'),
	grunt = require('grunt'),
	dir = "rss" + common.getTime(new Date(), "yyyyMMdd"),
	hasOwn = {}.hasOwnProperty,
	captcha = require('svg-captcha'),
	Segment = require('segment');

var cache = common.cache();

function route(handle, pathname) {
	console.log("About to route a request for " + pathname);
	if (typeof handle[pathname] === 'function') {
		handle[pathname]();
	} else {
		console.log("No request handler found for " + pathname);
	}
}

function index(config, res, query) {
	res.render('index', {}, function(err, html) {
		console.log(html)
		res.send(JSON.stringify({
			status: 1
		}));
	});
}

function err(res, type) {
	res.render(type, {});
}

function api_error(res, query, bool, msg) {
	var b = query.callback;
	res.send(b ? b + "(" + JSON.stringify({
		status: 0,
		data: [],
		msg: msg || "Unknown error"
	}) + ")" : {
		status: 0,
		data: [],
		msg: msg || "Unknown error"
	});
}

exports.route = route;
exports.index = index;
exports.err = err;

exports.getHomeFeed = function (res, req, bool, msg) { 
	res.send({
		status: 1,
		data: [
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content:
                    "comment content.adfasdfadf,adfadfadsfa ,adsf,asd,fadf ,adfadsfa.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1600742546371,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: false,
            isFollow: true,
            contentId: "0123456",
            isAd: true,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: false,
            goodCount: 2314,
            isCollection: false,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            isAd: true,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: true,
            contentId: "0123456",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
        ],
		msg: msg || "Unknown error"
	})
}

exports.getCityWideItems = function (res, req, bool, msg) { 
	res.send({
		status: 1,
		data: [
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 5,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content:
                    "comment content.adfasdfadf,adfadfadsfa ,adsf,asd,fadf ,adfadsfa.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1600742546371,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: false,
            contentId: "0123456",
            isAd: true,
            isFollow: false,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: false,
            goodCount: 15,
            isCollection: false,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
        ],
		msg: msg || "Unknown error"
	})
}

exports.getRecommendItems = function (res, req, bool, msg) { 
	res.send({
		status: 1,
		data: [
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content:
                    "comment content.adfasdfadf,adfadfadsfa ,adsf,asd,fadf ,adfadsfa.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1600742546371,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: false,
            contentId: "0123456",
            isAd: true,
            isFollow: false,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: false,
            goodCount: 2314,
            isCollection: false,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            goods: {
              itemId: 1000051166,
              itemName: "长福祥 神池手工老式月饼（散装）60g*10袋",
              identityPrice: 19.9,
              skuPrice: 22.0,
            },
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            isAd: true,
            sellerUrl: "http://www.baidu.com",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
          {
            id: "0123456",
            userId: "0123456",
            userHead:
              "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595233833221&di=8cf8621bb5bdae4844362dfe99c54191&imgtype=0&src=http%3A%2F%2Fb.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fbd315c6034a85edf8c1758e240540923dc547553.jpg",
            nickName: "undefined",
            position: "中国",
            isNewContent: true,
            isFollow: false,
            contentId: "0123456",
            content: [
              {
                contentId: "0123456",
                type: "image",
                url:
                  "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=18296136,276139235&fm=26&gp=0.jpg",
                desc:
                  "adfasfas,adfa,df,,adfasdfasdfasdfafads,adadfa.adfadfadfaf.",
              },
            ],
            tags: [
              "早晨",
              "asdfasdf",
              "电影",
              "娱乐自己",
              "标签测试",
              "线上测试",
            ],
            isGood: true,
            goodCount: 2314,
            isCollection: true,
            comments: {
              list: [
                {
                  userId: "0123456",
                  nickName: "test",
                  content: "comment content.",
                },
                {
                  userId: "0123456",
                  nickName: "adfasdfasd",
                  content: "comment content. adfasdfasdfas",
                },
              ],
              count: 3312,
            },
            lastTime: 1595245074825,
          },
        ],
		msg: msg || "Unknown error"
	})
}

